TUP-2239: fix a problem of jfreechart plugin