The present invention relates to pediatric drug formulation. Especially, this invention relates to the manufacturing of granules comprising a core comprising a drug having an unpleasant taste, which may be a primary bile acid, such as for example cholic acid, and a taste-masking coating. The purpose of the invention is to fully mask unpleasant taste of the drug, while ensuring its availability at the duodenum biological site.