Well, I've never built one from scratch but you can get all the parts you will need from pretty much any auto supply store. You're going to need some pre-bent piping, hose clamps, air filter, and some rubber pipe seals.
Click Here
Above I provided an example of a home built CAI on a VW Gti. It's obviously going to be slightly different on a BMW, but the concept remains the same.