 <p>I just want to extend the answer from <a href="http://stackoverflow.com/users/2190416/arnaud-t">Amaud T</a>:</p> <p>I faced the same issue and I used the above answer, with some small modifications:</p> <pre><code>&lt;style type="text/css"&gt; #chartComponentId table.jqplot-table-legend { width: auto !important;} &lt;/style&gt; &lt;div id="chartComponentId" class="chartComponent"&gt; ... &lt;/div&gt; </code></pre> <p>Due to the need of use <em>!important</em>, binding this stylesheet on a particular div objects prevents any side effects to other elements.</p>