pruning more than being a science is an art. But if we go out of the art and can apply scientific rules about pruning, it's better for Jasmin to cut one-third (1/3) of the ends of the branches. In this way, your plant will grow many branches and produce more flowers after a year. Use phosphorus fertilizer for flowering and potassium fertilizer to sustain flowering.
Have fun,