From the docs it sounds like you'll need to set
clearStyle: true
...and also
autoHeight: false
I believe that using clearStyle allows you to dynamically add content without Accordion getting in the way.
So try this...
$( ".selector" ).accordion({ clearStyle: true, autoHeight: false });