Method for producing prefillable syringes