They're pretty inexpensive (<$100 or so). You're probably better off to buy one. The only problem is that most of the ones out there aren't water-proof so you have to be careful if you ride in the rain. Here's a thread on the one I have:
Shift Light
Good luck!
5-0dro
www.5-0dro.com