In general you want to go almost straight up at first, then at like 30km start turning right, then you want to do radial in manually (don't select automatic radial in yet).
Be careful before you stage the last time because if you run out fuel while turning it'll spin you. So you need to stop turning for a second just before you run out of fuel in the penultimate stage. Then select auto radial in, wait for 65km of altitude and then stage the last time.
Have fun!
Feel free to improve on this design and beat 46 seconds =)
More info:
Just go up at first, stage 2 times and wait till 30 km. At 30 km stage 3rd time and start turning right. Get vertical speed to about 2200 m/s then gradually turn to radial in. At 65km set auto radial in and stage last time. Press M and see if you got to orbit or not =)
It could take you a couple of tries before you start getting to orbit.
First 2 times you stage you'll lose some engines but it's alright if you're still stable.
Don't pitch a lot before 30 km or you'll explode.