The present invention relates to a method of producing a pharmaceutical preparation that contains a proton pump inhibitor and optionally a non-steroidal anti-inflammatory drug in the form of pellets. The invention further relates to pharmaceutical preparations obtainable by said method, in particular those with a defined dissolution profile.