A first stream of UF retentate and/or mix produced from milk protein, vegetable- and/or animal fat and water is mixed with Na Cl and GDL in a mixer (4) and fed to a tank (9) where air is removed and the weight of the contents of the tank is determined. The content of the tank is recirculated to the mixer. A second stream corresponding to the first stream with added Na Cl and GDL is extracted from the tank so that the mass of the mixed stream in the tank is kept within predetermined limits, and rennet is added to the second stream before it is filled into containers which may be closed and sealed before coagulation takes place.