Custom build for line and bar charts with AMD support