Multi profile sweep

 From:  Andre
9706.1 
I want to sweep (loft?) from one of those two profiles to the other, following the yellow rail:



If I select the two profiles, choose "Sweep" and then select the rail, I get this:



which isn't really what I want.