Are you absolutely sure that it's colic and not reflux? Without more details, obviously I could be wrong, but you might want to check with a GI specialist to see if there's a reflux problem that can be treated. If it IS colic, you can make your own gripe water.
Gripe Water (For Baby)
A simple home remedy for your colicky baby. Remember to talk to your doctor before giving this to your little one! Fennel seed can be used in place of dill.
by Hadice Requires Premium MembershipMy Notes
7-8 2 oz bottles 12 min 2 min prep
Change to: 2 oz bottles US Metric
1 teaspoon dill seeds
1 pint water
Simmer water and dill seed for about 10 minutes.
Strain out the seeds and allow water to cool.
Fill as many 2 oz bottles as you can.
Feed to baby as needed at room temp or slightly warmed.
Discard water after 24 hours, it doesn't keep it's potentcy and may start to turn.
http://www.life.ca/nl/48/herbs.html
"Although dill is most usually used for culinary purposes, it has excellent medicinal qualities. It is especially helpful for digestive problems. Flatulence in babies has long been helped by infusions of dill seed in warm water. Gripe water – the universal panacea for babies for many years – is made of dill and fennel. But not only babies benefit. Dill is rich in minerals and improves the condition of hair and fingernails. Using dill weed or seed as frequently as possible in your menus will be both a delight to your taste but also a help to your digestion."
You may, of course, buy Gripe Water in bottles, but always check the ingredients first. Most contain only herbs, but some from Europe may have alcohol or even phenobarbital, whichyou should avoid.