Modify jqPlot to support retina displays.

fixes #4389