The full rule is a bit more complicated. The weight of a specific potion is determined by the ingredients used the first time you make that potion. Thereafter, any identical potion will have the same weight. Identical means the potion must have the same name, the same list of effects (in the same order), and the same magnitude and duration of each individual effect, but not necessarily the same ingredients.