The way you are doing it is the way to do it (and yes it will probably be very messy).
So I've got this problem:
Calculate the fifth derivative of the function
I tried going through the hassle of doing product rule again and again but it became so messy by the third iteration that I have to believe that there is an easier way to solve this problem (and perhaps other problems like it?).