The present invention relates to a beverage dispenser, comprising:- an inlet connected to a water source 102;- an outlet for dispensing the water to a user vessel;- at least one filter element 108, 112 having an input and an output for filtered water;- a mineralization device 128 coupled between the output for filtered water of the filter element and the outlet of the beverage dispenser;- a controller 158; and- at least one ion concentration sensor 144 connected to the controller and arranged downstream of the output of the mineralization device, wherein the ion concentration sensor is adapted to determine the concentration of predetermined type of ion in the water;- wherein the controller is adapted to determine the actual ion concentration of at least one predetermined ion type by the at least one ion concentration sensor.